chore(website): formatting fixes #2#1096
Conversation
CSS fix
website/content/01-getting-started/03-tutorial/02-chapter-1-setup-and-first-query.mdx
Outdated
Show resolved
Hide resolved
website/content/01-getting-started/03-tutorial/03-chapter-2-writing-your-first-schema.mdx
Outdated
Show resolved
Hide resolved
website/content/01-getting-started/03-tutorial/04-chapter-3-adding-mutations-to-your-api.mdx
Outdated
Show resolved
Hide resolved
website/content/01-getting-started/03-tutorial/05-chapter-4-testing-your-api.mdx
Outdated
Show resolved
Hide resolved
website/content/01-getting-started/03-tutorial/06-chapter-5-persisting-data-via-prisma.mdx
Outdated
Show resolved
Hide resolved
website/content/01-getting-started/03-tutorial/07-chapter-6-testing-with-prisma.mdx
Outdated
Show resolved
Hide resolved
| @@ -3,32 +3,33 @@ title: 'Server' | |||
| metaTitle: 'Server' | |||
There was a problem hiding this comment.
Why even use Server when it is just about Serverless? cc @jasonkuhrt
There was a problem hiding this comment.
Or is this the component name?
There was a problem hiding this comment.
Heya,
So Nexus has a "server" component that can be either in serverful or serverless mode.
For example:
import { server } from 'nexus'
server.middleware() // ... this would work over serverless OR serverfulFrom a product POV this is still a WIP, we'll see how #782 goes + evolves...
To your question, the guides, it is not that the guide title was intended to match the component name. However, we felt that having two guides serverless and serverful would be confusing. Also a lot of content that applies to one applies to the other (e.g. middleware).
We wanted a single guide for all "server related stuff", and concluded on the name server. Within it, there will be three parts:
- serverless only stuff
- serverful only stuff
- general stuff shared by all modes
Now that you have the context, do you have a suggestion for a better guide name?


No description provided.